package com.wan37.logic.listener.event.role;

import com.wan37.logic.listener.event.EventType;

import java.util.logging.Level;

/**
 * @author : luoyong
 * @date : 2020-06-29 11:12
 **/
public class RoleLevelUpEvent extends BaseRoleEvent {
    private String newLevel;

    public RoleLevelUpEvent(EventType eventType, String newLevel) {
        super(eventType);
        this.newLevel = newLevel;
    }

    public String getNewLevel() {
        return newLevel;
    }

    public void setNewLevel(String newLevel) {
        this.newLevel = newLevel;
    }

    @Override
    public String toString() {
        return "RoleLevelUpEvent{" +
                "newLevel='" + newLevel + '\'' +
                '}';
    }
}
